{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form method="post" action="">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">修改年级</p>
                </div>
                <div class="box-body">
				<div class=" form-group" style="padding:0;">
						  <label class="col-md-4 control-label text-right">
							   年份：
						  </label>
						  <div class="input-group col-md-4" >
							   <input type="text" class="form-control" value="{%$grade_data.upg_year%}" id="from" name="upc_year">
							     <div class="input-group-addon" >
									<i class="fa fa-calendar"></i>
								 </div>
						  </div>
						 	  
				    </div>
                  <div class="form-group ">
                      <label  class="col-md-4 control-label text-right" >
                         年级名称：
                      </label>
                      <div class="input-group col-md-4 col-sm-12 col-xs-12">
                        <input type="text" class="form-control" value="{%$grade_data.grade_name%}" name="grade_name">
                      </div>
                   </div>      
                   <div class="form-group">
                      <label  class="col-md-4 control-label text-right" >
                         年级代码：
                      </label>
                      <div class="input-group col-md-4 col-sm-12 col-xs-12">
                         <input type="text" class="form-control" value="{%$grade_data.grade_code%}" name="grade_code" disabled="disabled">
                      </div>
                    </div> 
                     <div class="form-group">
                      <label  class="col-md-4 control-label text-right" >
                         年级简称：
                      </label>
                      <div class="input-group col-md-4 col-sm-12 col-xs-12">
                         <input type="text" class="form-control" value="{%$grade_data.grade_xname%}" name="grade_xname">
                      </div>
                    </div>      
				  </div><!--box-body -->
                <div class="box-footer text-center">
                    <button type="submit" class="btn btn-primary ">保 存</button>
                </div>
             </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
 {%include file="index.footer.tpl.php"%}
<script>
  $(function() {
    $( "#from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,
     dateFormat:"yy",
    });

  });
</script>
    
